package boerse.main.Account;


import boerse.main.Asset.CashAccount;
import boerse.main.Asset.ShareDeposit;

public class Player {

	private CashAccount cashAccount;
	private String name;
	private ShareDeposit shareDeposit;
	
	public Player(String name, CashAccount cashAccount, ShareDeposit shareDeposit) {
		this.cashAccount = cashAccount;
		this.name = name;
		this.shareDeposit = shareDeposit;
	}
	
	public String getName() {
		return name;
	}

	public CashAccount getCashAccount() {
		return cashAccount;
	}


	public ShareDeposit getShareDeposit() {
		return shareDeposit;
	}

	
}
